package com.sx.art2.beans;

import java.util.List;

public class AuctionInfo {
	
	private int auctionInfoId;
	private int artId;
	private float auctionStartPrice;
	private float auctionLadder;
	private float auctionOnePrice;
	private float auctionNowPrice;
	private String auctionStartTime;
	private String auctionEndTime;
	private int auctionState;//0:预展1:拍卖中2:拍卖结束
	private int paymentState;
	private String auctionInfoTime;
	private int auctionNum;
	private float transactionPrice;
	private Art art;
	private Category category;
	private List<Auction> auction;
	
	
	public AuctionInfo() {
		super();
		// TODO 自动生成的构造函数存根
	}
	
	public int getAuctionInfoId() {
		return auctionInfoId;
	}
	public void setAuctionInfoId(int auctionInfoId) {
		this.auctionInfoId = auctionInfoId;
	}
	public int getArtId() {
		return artId;
	}
	public void setArtId(int artId) {
		this.artId = artId;
	}
	public float getAuctionStartPrice() {
		return auctionStartPrice;
	}
	public void setAuctionStartPrice(float auctionStartPrice) {
		this.auctionStartPrice = auctionStartPrice;
	}
	public float getAuctionLadder() {
		return auctionLadder;
	}
	public void setAuctionLadder(float auctionLadder) {
		this.auctionLadder = auctionLadder;
	}
	public float getAuctionOnePrice() {
		return auctionOnePrice;
	}
	public void setAuctionOnePrice(float auctionOnePrice) {
		this.auctionOnePrice = auctionOnePrice;
	}
	public float getAuctionNowPrice() {
		return auctionNowPrice;
	}
	public void setAuctionNowPrice(float auctionNowPrice) {
		this.auctionNowPrice = auctionNowPrice;
	}
	public String getAuctionStartTime() {
		return auctionStartTime;
	}
	public void setAuctionStartTime(String auctionStartTime) {
		this.auctionStartTime = auctionStartTime;
	}
	public String getAuctionEndTime() {
		return auctionEndTime;
	}
	public void setAuctionEndTime(String auctionEndTime) {
		this.auctionEndTime = auctionEndTime;
	}
	public int getAuctionState() {
		return auctionState;
	}
	public void setAuctionState(int auctionState) {
		this.auctionState = auctionState;
	}
	public Art getArt() {
		return art;
	}
	public void setArt(Art art) {
		this.art = art;
	}
	public String getAuctionInfoTime() {
		return auctionInfoTime;
	}
	public void setAuctionInfoTime(String auctionInfoTime) {
		this.auctionInfoTime = auctionInfoTime;
	}

	public List<Auction> getAuction() {
		return auction;
	}

	public void setAuction(List<Auction> auction) {
		this.auction = auction;
	}
	

	public Category getCategory() {
		return category;
	}
	public void setCategory(Category category) {
		this.category = category;
	}
	public int getPaymentState() {
		return paymentState;
	}

	public void setPaymentState(int paymentState) {
		this.paymentState = paymentState;
	}

	public int getAuctionNum() {
		return auctionNum;
	}

	public void setAuctionNum(int auctionNum) {
		this.auctionNum = auctionNum;
	}

	public float getTransactionPrice() {
		return transactionPrice;
	}

	public void setTransactionPrice(float transactionPrice) {
		this.transactionPrice = transactionPrice;
	}

	@Override
	public String toString() {
		return "AuctionInfo [auctionInfoId=" + auctionInfoId + ", artId=" + artId + ", auctionStartPrice="
				+ auctionStartPrice + ", auctionLadder=" + auctionLadder + ", auctionOnePrice=" + auctionOnePrice
				+ ", auctionNowPrice=" + auctionNowPrice + ", auctionStartTime=" + auctionStartTime
				+ ", auctionEndTime=" + auctionEndTime + ", auctionState=" + auctionState + ", paymentState="
				+ paymentState + ", auctionInfoTime=" + auctionInfoTime + ", auctionNum=" + auctionNum
				+ ", transactionPrice=" + transactionPrice + ", art=" + art + ", auction=" + auction + "]";
	}

	public AuctionInfo(int auctionInfoId, int artId, float auctionStartPrice, float auctionLadder,
			float auctionOnePrice, float auctionNowPrice, String auctionStartTime, String auctionEndTime,
			int auctionState, int paymentState, String auctionInfoTime, int auctionNum, float transactionPrice, Art art,
			Category category, List<Auction> auction) {
		super();
		this.auctionInfoId = auctionInfoId;
		this.artId = artId;
		this.auctionStartPrice = auctionStartPrice;
		this.auctionLadder = auctionLadder;
		this.auctionOnePrice = auctionOnePrice;
		this.auctionNowPrice = auctionNowPrice;
		this.auctionStartTime = auctionStartTime;
		this.auctionEndTime = auctionEndTime;
		this.auctionState = auctionState;
		this.paymentState = paymentState;
		this.auctionInfoTime = auctionInfoTime;
		this.auctionNum = auctionNum;
		this.transactionPrice = transactionPrice;
		this.art = art;
		this.category = category;
		this.auction = auction;
	}
}
